<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    Array.prototype.myUnshift = function () {
        var args = arguments
        var arr = this
        for (var i = 0; i < args.length; i++) {
            arr[arr.length] = args[i]

        }
        return arr.length
    }

    var arr = [11, 22, 33]
    arr.myUnshift(44)
    console.log(arr); 
</script>

</html>